104 #define XMC_UART0_CH0 XMC_USIC0_CH0 105 #define XMC_UART0_CH1 XMC_USIC0_CH1 109 #define XMC_UART1_CH0 XMC_USIC1_CH0 110 #define XMC_UART1_CH1 XMC_USIC1_CH1 114 #define XMC_UART2_CH0 XMC_USIC2_CH0 115 #define XMC_UART2_CH1 XMC_USIC2_CH1 192 #if UC_FAMILY == XMC1 194 XMC_UART_CH_INPUT_RXD1 = 3UL,
195 XMC_UART_CH_INPUT_RXD2 = 5UL
466 const uint8_t service_request)
469 (uint32_t)service_request);
493 const uint32_t service_request)
496 (uint32_t)service_request);
561 channel->
PSCR = flag;
#define USIC_CH_PSR_ASCMode_RFF_Msk
#define USIC_CH_PSR_ASCMode_DLIF_Msk
uint16_t XMC_UART_CH_GetReceivedData(XMC_USIC_CH_t *const channel)
#define USIC_CH_PSR_ASCMode_TBIF_Msk
enum XMC_UART_CH_INTERRUPT_NODE_POINTER XMC_UART_CH_INTERRUPT_NODE_POINTER_t
__STATIC_INLINE void XMC_USIC_CH_SetInputSamplingFreq(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input, const XMC_USIC_CH_INPUT_SAMPLING_FREQ_t sampling_freq)
#define USIC_CH_PCR_ASCMode_SP_Pos
#define USIC_CH_PCR_ASCMode_SBIEN_Msk
#define USIC_CH_PSR_ASCMode_TSIF_Msk
enum XMC_USIC_CH_INPUT XMC_USIC_CH_INPUT_t
__STATIC_INLINE void XMC_USIC_CH_SetFrameLength(XMC_USIC_CH_t *const channel, const uint8_t frame_length)
__STATIC_INLINE void XMC_UART_CH_SetInterruptNodePointer(XMC_USIC_CH_t *const channel, const uint8_t service_request)
__STATIC_INLINE void XMC_UART_CH_SetFrameLength(XMC_USIC_CH_t *const channel, const uint8_t frame_length)
__STATIC_INLINE void XMC_UART_CH_EnableMasterClock(XMC_USIC_CH_t *const channel)
void XMC_USIC_CH_SetInterruptNodePointer(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INTERRUPT_NODE_POINTER_t interrupt_node, const uint32_t service_request)
__STATIC_INLINE void XMC_USIC_CH_EnableInputSync(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
__STATIC_INLINE void XMC_UART_CH_DisableInputDigitalFilter(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
__STATIC_INLINE void XMC_UART_CH_DisableInputSync(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
void XMC_UART_CH_Transmit(XMC_USIC_CH_t *const channel, const uint16_t data)
XMC_UART_CH_STATUS_t XMC_UART_CH_Stop(XMC_USIC_CH_t *const channel)
__STATIC_INLINE void XMC_USIC_CH_SetStartTransmisionMode(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_START_TRANSMISION_MODE_t start_transmision_mode)
#define USIC_CH_PSR_ASCMode_RIF_Msk
#define USIC_CH_PSR_ASCMode_FER1_Msk
#define USIC_CH_PCR_ASCMode_FEIEN_Msk
__STATIC_INLINE void XMC_UART_CH_DisableMasterClock(XMC_USIC_CH_t *const channel)
__STATIC_INLINE void XMC_UART_CH_EnableDataTransmission(XMC_USIC_CH_t *const channel)
__STATIC_INLINE void XMC_UART_CH_SetWordLength(XMC_USIC_CH_t *const channel, const uint8_t word_length)
__STATIC_INLINE void XMC_UART_CH_SetPulseLength(XMC_USIC_CH_t *const channel, const uint8_t pulse_length)
__STATIC_INLINE void XMC_USIC_CH_EnableInputInversion(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
enum XMC_USIC_CH_PARITY_MODE XMC_USIC_CH_PARITY_MODE_t
__STATIC_INLINE void XMC_USIC_CH_SetWordLength(XMC_USIC_CH_t *const channel, const uint8_t word_length)
struct XMC_UART_CH_CONFIG XMC_UART_CH_CONFIG_t
#define USIC_CH_PSR_ASCMode_BUSY_Msk
#define USIC_CH_CCR_BRGIEN_Msk
enum XMC_USIC_CH_INPUT_SAMPLING_FREQ XMC_USIC_CH_INPUT_SAMPLING_FREQ_t
__STATIC_INLINE void XMC_USIC_CH_TriggerServiceRequest(XMC_USIC_CH_t *const channel, const uint32_t service_request_line)
__STATIC_INLINE void XMC_UART_CH_SetInputSource(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input, const uint8_t source)
#define USIC_CH_PSR_ASCMode_RNS_Msk
enum XMC_USIC_CH_INTERRUPT_NODE_POINTER XMC_USIC_CH_INTERRUPT_NODE_POINTER_t
__STATIC_INLINE void XMC_UART_CH_DisableInputInversion(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
#define USIC_CH_PSR_ASCMode_COL_Msk
__STATIC_INLINE void XMC_UART_CH_EnableInputSync(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
__STATIC_INLINE void XMC_UART_CH_SetSamplePoint(XMC_USIC_CH_t *const channel, const uint32_t sample_point)
#define USIC_CH_PCR_ASCMode_CDEN_Msk
#define USIC_CH_DX0CR_DSEN_Msk
#define USIC_CH_CCR_DLIEN_Msk
#define USIC_CH_CCR_TSIEN_Msk
__STATIC_INLINE void XMC_UART_CH_ClearStatusFlag(XMC_USIC_CH_t *const channel, const uint32_t flag)
enum XMC_CH_UART_EVENT XMC_UART_CH_EVENT_t
__STATIC_INLINE void XMC_UART_CH_SelectInterruptNodePointer(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INTERRUPT_NODE_POINTER_t interrupt_node, const uint32_t service_request)
#define USIC_CH_CCR_RSIEN_Msk
#define USIC_CH_PSR_ASCMode_RSIF_Msk
enum XMC_UART_CH_STATUS XMC_UART_CH_STATUS_t
__STATIC_INLINE void XMC_USIC_CH_DisableInputDigitalFilter(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
#define USIC_CH_CCR_AIEN_Msk
#define USIC_CH_DX0CR_INSW_Msk
#define USIC_CH_PCR_ASCMode_MCLK_Msk
__STATIC_INLINE void XMC_USIC_CH_DisableInputInversion(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
#define USIC_CH_CCR_TBIEN_Msk
#define USIC_CH_PCR_ASCMode_SP_Msk
#define USIC_CH_PSR_ASCMode_FER0_Msk
__IO uint32_t PSR_ASCMode
void XMC_UART_CH_DisableEvent(XMC_USIC_CH_t *const channel, const uint32_t event)
enum XMC_UART_CH_STATUS_FLAG XMC_UART_CH_STATUS_FLAG_t
#define USIC_CH_PSR_ASCMode_TFF_Msk
__STATIC_INLINE void XMC_USIC_CH_DisableInputSync(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
XMC_UART_CH_STATUS_t XMC_UART_CH_SetBaudrate(XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling)
#define USIC_CH_PSR_ASCMode_BRGIF_Msk
__STATIC_INLINE void XMC_UART_CH_EnableInputDigitalFilter(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
enum XMC_UART_CH_INPUT_SAMPLING_FREQ XMC_UART_CH_INPUT_SAMPLING_FREQ_t
__STATIC_INLINE void XMC_USIC_CH_EnableInputDigitalFilter(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input)
#define USIC_CH_PCR_ASCMode_RNIEN_Msk
__STATIC_INLINE void XMC_USIC_CH_SetInputSource(XMC_USIC_CH_t *const channel, const XMC_USIC_CH_INPUT_t input, const uint8_t source)
#define USIC_CH_PCR_ASCMode_FFIEN_Msk
XMC_USIC_CH_PARITY_MODE_t parity_mode
#define USIC_CH_PSR_ASCMode_TXIDLE_Msk
enum XMC_UART_CH_INPUT XMC_UART_CH_INPUT_t
__STATIC_INLINE void XMC_UART_CH_DisableDataTransmission(XMC_USIC_CH_t *const channel)
#define USIC_CH_CCR_RIEN_Msk
void XMC_UART_CH_EnableEvent(XMC_USIC_CH_t *const channel, const uint32_t event)
XMC_UART_CH_INTERRUPT_NODE_POINTER
#define USIC_CH_CCR_MODE_Msk
#define USIC_CH_PCR_ASCMode_PL_Msk
XMC_UART_CH_INPUT_SAMPLING_FREQ
void XMC_UART_CH_Init(XMC_USIC_CH_t *const channel, const XMC_UART_CH_CONFIG_t *const config)
__STATIC_INLINE void XMC_UART_CH_Start(XMC_USIC_CH_t *const channel)
__STATIC_INLINE void XMC_UART_CH_EnableInputInversion(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input)
__IO uint32_t PCR_ASCMode
#define USIC_CH_PSR_ASCMode_SBD_Msk
__STATIC_INLINE void XMC_UART_CH_TriggerServiceRequest(XMC_USIC_CH_t *const channel, const uint32_t service_request_line)
__STATIC_INLINE uint32_t XMC_UART_CH_GetStatusFlag(XMC_USIC_CH_t *const channel)
#define USIC_CH_PSR_ASCMode_RXIDLE_Msk
#define USIC_CH_PCR_ASCMode_PL_Pos
__STATIC_INLINE void XMC_UART_CH_SetInputSamplingFreq(XMC_USIC_CH_t *const channel, const XMC_UART_CH_INPUT_t input, const XMC_UART_CH_INPUT_SAMPLING_FREQ_t sampling_freq)
#define USIC_CH_PSR_ASCMode_AIF_Msk